<template>
	<view class="xzfx-add-car-card">
		<view class="card-title">
			免费评估 查看最新估价
		</view>
		<view class="card-content">
			<view class="plus-box" @click.stop="$go('/pages/car-evaluate/publish')">
				<view class="xzfx_icon_plus"></view>
				<view class="tips">立即添加，免费评估</view>
			</view>
			<view class="btn-list">
				<view class="btn" @click.stop="$go('/pages/want-buy/list')">
					车辆求购
					<text class="xzfx_icon_arrow_right"></text>
				</view>
				<view class="btn" @click.stop="$go('/pages/car-appt-sale/publish')">
					预约卖车
					<text class="xzfx_icon_arrow_right"></text>
				</view>
				<view class="btn" @click.stop="$go('/pages/car-auction/list')">
					拍卖专区
					<text class="xzfx_icon_arrow_right"></text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "xzfx-add-car-card",
		data() {
			return {

			};
		}
	}
</script>

<style scoped lang="scss">
	.xzfx-add-car-card {
		margin: $xzfx-spacing;
		padding: $xzfx-spacing;
		color: #111E36;
		font-weight: 500;
		background: url("https://bchr-truck.oss-cn-hangzhou.aliyuncs.com/truck-info/lyHeGJYmy6pM0cdd9c8a814b042f4a1136a4bfb404c6_1681802292343.png");
		background-size: 100% 100%;
		background-repeat: no-repeat;
		box-shadow: 0 3rpx 7rpx 0rpx rgba(0, 0, 0, 0.1);
		overflow: hidden;
		border-radius: 20rpx;
		.card-title{
			font-weight: bold;
			font-size: 32rpx;
		}
		.card-content{
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-top: 20rpx;
			.plus-box{
				width: calc(100% - 200rpx);
				height: 250rpx;
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				border: 1rpx dashed #e3e3e3;
				border-radius: 20rpx;
				.xzfx_icon_plus{
					font-size: 60rpx;
					color: #aeaeae;
				}
				.tips{
					font-size: 28rpx;
					color: #999999;
				}
			}
			.btn-list{
				width: 170rpx;
				display: flex;
				justify-content: space-between;
				align-items: flex-end;
				flex-direction: column;
				.btn{
					background-color: #FFEFDB;
					border-radius: 15rpx;
					width: 180rpx;
					height: 70rpx;
					display: flex;
					justify-content: center;
					align-items: center;
					font-size: 28rpx;
					margin-top: 20rpx;
					font-weight: 500;
					text{
						font-weight: 500;
						font-size: 20rpx;
						margin-left: 3rpx;
					}
				}
				.btn:first-child{
					margin-top: 0;
				}
			}
		}
	}
</style>
